package com.ruoyi.project.stop.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 一键急停记录对象 stop_record
 *
 * @author ruoyi
 * @date 2025-02-26
 */
public class StopRecordVO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 船舶id */
    @Excel(name = "船舶id")
    private Long shipId;

    @Excel(name = "是否为解除报警  0：不是解除报警  5：解除报警")
    private Long removeType = 0L;

    /** 停止类型 0：手动停止  1：系统停止 */
    @Excel(name = "停止类型  0：未停止   5：手动遥控器停止  10：控制箱停止  15：船端停止 20：系统自动停止")
    private Long stopType;

    /** 急停状态 0：未急停  1：已急停 */
    @Excel(name = "急停状态 0：未急停  5：黄色报警  10：已急停")
    private Long stopStatus;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setShipId(Long shipId)
    {
        this.shipId = shipId;
    }

    public Long getShipId()
    {
        return shipId;
    }

    public void setStopType(Long stopType)
    {
        this.stopType = stopType;
    }

    public Long getStopType()
    {
        return stopType;
    }

    public void setStopStatus(Long stopStatus)
    {
        this.stopStatus = stopStatus;
    }

    public Long getStopStatus()
    {
        return stopStatus;
    }

    public Long getRemoveType() {
        return removeType;
    }

    public void setRemoveType(Long removeType) {
        this.removeType = removeType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("shipId", getShipId())
                .append("stopType", getStopType())
                .append("stopStatus", getStopStatus())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
